[HVM] Save/restore: save HVM GPRs and DRs with the rest of the CPU state
authorTim Deegan <Tim.Deegan@xensource.com>
Thu, 12 Apr 2007 14:02:03 +0000 (15:02 +0100)
committerTim Deegan <Tim.Deegan@xensource.com>
Thu, 12 Apr 2007 14:02:03 +0000 (15:02 +0100)
commit833623e78abfbf24956ee374089a13dc4efaaa71
tree47024cc686d484f5c8f9b0dd3411eace25dea54c
parenta01197aeb4b0e496b2e5ebdff2b1728970e3a351
[HVM] Save/restore: save HVM GPRs and DRs with the rest of the CPU state
and remove the use of xc_vcpu_getcontext() from HVM save/restore.
Also fixes loss of CR2, DR6 and DR7 contents across HVM save/restore.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
tools/libxc/xc_domain_restore.c
tools/libxc/xc_domain_save.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/vmx/vmx.c
xen/include/public/hvm/save.h